package cn.qzuie.smart.module.dorm.controller.admin.bills.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 账单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BillsRespVO {

    @Schema(description = "账单ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "31645")
    @ExcelProperty("账单ID")
    private Long id;

    @Schema(description = "宿舍ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24968")
    @ExcelProperty("宿舍ID")
    private Long dormitoryId;

    @Schema(description = "能源账单集合包括照明，空调，水", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("能源账单集合包括照明，空调，水")
    private Long energyUsageIds;

    @Schema(description = "账单日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("账单日期")
    private LocalDateTime billDate;

    @Schema(description = "总金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("总金额")
    private Double totalAmount;

    @Schema(description = "余额")
    @ExcelProperty("余额")
    private Double balance;

    @Schema(description = "欠费", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("欠费")
    private Double fee;

    @Schema(description = "截止日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("截止日期")
    private LocalDateTime dueDate;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}